﻿<div id="sidebar">
    <div id="search" class="widget">
        <h3>鎼滅储</h3>
        <form id="searchform" action="${siteurl}search.aspx" method="get" >
            <input type="text" id="keyword" name="keyword" value="${searchkeyword}" /> <input type="submit" value="鎼滅储"/>
        </form>
    </div>
    <div id="authors" class="widget">
        <h3>浣滆€?/h3>
        <ul>
        #foreach($item in $authors)
            <li><a href="$!{item.url}"  title="${item.description}">${item.LoginName}</a><!--<span>(${item.postcount})</span>--></li>
        #end
        </ul>
    </div>
    <div id="categories" class="widget">
        <h3>鍒嗙被</h3>
        <ul>
        #foreach($item in $categories)
            <li><span>$!base.getPostCatagoryLink($item.id)(${item.count})</span></li>
        #end
        </ul>
    </div>
    <div id="recentposts" class="widget">
        <h3>鏈€鏂版棩蹇?/h3>
        <ul>
        #foreach($item in ${recentposts})
            <li><a href="$base.Url("/Post.aspx?id=${item.ID}")" title="${item.title}">${item.title}</a></li>
        #end
        </ul>
    </div>
    <div id="recentcomments" class="widget">
        <h3>鏈€鏂拌瘎璁?/h3>
        <ul>
        #foreach($item in $recentcomments)
            <li><a href="${item.url}" title="${item.name} 鍙戣〃浜?${item.createdate}">${item.title}</a></li>
        #end
        </ul>
    </div>
    <div id="monthlist" class="widget">
        <h3>褰掓。</h3>
        <ul>
        #foreach($item in $archives)
            <li><a href="${item.url}" title="">${item.date.tostring("yyyy骞碝M鏈?)}</a><span>(${item.count})</span></li>
        #end
        </ul>
    </div>
    <div id="recenttags" class="widget">
        <h3>鏍囩</h3>
        <ul>
        #foreach($item in $recenttags)
            <li><a href="${item.url}" title="${item.description}">${item.name}</a><span>(${item.count})</span></li>
        #end
        </ul>
    </div>
    <div id="generallinks" class="widget">
        <h3>閾炬帴</h3>
        <ul>
        #foreach($item in $generallinks)
            <li><a href="${item.Href}" title="${item.description}" target="${item.target}">${item.name}</a></li>
        #end
        </ul>
    </div>
    <div  id="statistics" class="widget">
        <h3>缁熻</h3>
        <ul>
            <li>鏂囩珷:<span>${postcount} 绡?/span></li>
            <li>璇勮:<span>${commentcount} 鏉?/span></li>
            <li>浣滆€?<span>${authorcount} 浣?/span></li>
            <li>鐢ㄦ埛:<span>${usercount} 浣?/span></li>
            <li>璁块棶:<span>${viewcount} 娆?/span></li>
            <li>璁㈤槄:<span><a href="${feedurl}">鏂囩珷</a> <a href="${feedcommenturl}">璇勮</a> </span></li>
        </ul>
    </div>
</div>